
 var submit = document.getElementById('singin');
 submit.addEventListener('click',login,true);

 function login(){
  document.getElementById('pass').value = '';
 alert("Could not log in.Valid authentication\n credentials were not provided.");
 }